#include<iostream>
#include<cstdio>
using namespace std;

int main()
{
	int n1, n2;
	char ch;
	scanf("%d %d %c", &n1, &n2, &ch);
//	cin >> n1 >> n2 >> ch;
	if (n2 == 0)
		cout << "Divided by zero!" << endl; 
	else 
		switch(ch)
		{
			case '+':
				cout << n1 + n2 << endl; break;
			case '-':
				cout << n1 - n2 << endl; break;
			case '*':
				cout << n1 * n2 << endl; break;
			case '/':
				cout << n1 / n2 << endl; break;
			default :
				cout << "Invalid operator!" << endl;
				break;
		}
	
	return 0;
}
